cmake_minimum_required(VERSION 3.5.1)

add_library( lattice_planner  lattice_planner.cc )
target_link_libraries(lattice_planner
cyber::log
common::path_matcher
common::vehicle_state_provider
planning::planning_gflags
planning_constraint_checker_module
planning_collision_checker
planning::path_time_graph
planning_proto
planning_lattice_trajectory1d
planning_end_condition_sampler
planning_lattice_trajectory_generation_module
planning::path_time_graph
planning_lattice_trajectory1d
planning_end_condition_sampler
planning_lattice_trajectory_generation_module
planner
)

install(TARGETS lattice_planner
        EXPORT  apollo-export
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        RUNTIME DESTINATION bin
        INCLUDES DESTINATION .
        )